
<div class="app-content-body ">

  <div class="bg-light lter b-b wrapper-md hidden-print">
    <h1 class="m-n font-thin h3">用户管理</h1>
  </div>

  <div>
    <div class="crud-container crud-reset">
        <div class="row">
            <div class="col-md-8 col-lg-9 col-sm-7 col-xs-7">
                <div class="crud-buttons">
                	<a dx-toggle="button" dx-options='{"type": "normal"}'>新建</a>
                   	<div dx-toggle="button" dx-options='{"type": "danger"}'>删除</div>
                </div>
            </div>
            <div class="col-md-4 col-lg-3 col-sm-5 col-xs-5">
              <div class="input-group">
		            <input type="text" class="input-sm form-control" placeholder="Search">
		            <span class="input-group-btn">
		              <button class="btn btn-sm btn-default" type="button">搜索</button>
		            </span>
	          	</div>
           </div>
        </div>
        <div class="row">
            <div class="col-sm-12">
                <div class="examine data_list"></div>
            </div>
        </div>
    </div>
  </div>
</div>
<script>
$(function () {
    $(".crud-container").crud({
      url: API("admin-users"),
	
      columns: [{
        dataField: 'username',
        caption: '用户名'
      }, {
        dataField: 'type',
        caption: '类型'
      },  {
      	dataField: 'last_login_time',
        caption: '上次登录时间'
      },{
        caption: '操作',
        buttons: [{
          title: '修改密码',
          url: ''
        }]   
      }]
    });
});
</script>